package com.rgp.servicedriveruser.service;

import com.rgp.internalcommon.dto.ResponseResult;
import com.rgp.internalcommon.response.DriverInfoResponse;
import com.rgp.internalcommon.response.DriverVerificationResponse;
import com.rgp.servicedriveruser.pojo.DriverUser;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-16 13:25
 */
public interface DriverUserService {

    public ResponseResult selectByDriverUserId(Long id);

    public void addDriverUser(DriverUser driverUser);

    public Integer updateDriverUser(DriverUser driverUser);

    public DriverVerificationResponse getDriverByPhoneNum(String phondNum);

    public ResponseResult<Boolean> judgeIfExistAvailableDrivers(String cityCode,Integer state);

    ResponseResult<DriverInfoResponse> getDriverInfoByDriverId(String driverId);
}